package com.wl.eb.service;

import com.wl.eb.mapper.EbNewsMapper;
import com.wl.eb.module.EbNews;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class NewsService {
    @Resource
    private EbNewsMapper ebNewsMapper;
    public EbNews details(int newsId){
        return ebNewsMapper.selectById(newsId);
    }


}
